

<div class="bgrd">
<?php echo $login_header; ?>
<div id="content">
  <div class="box" style="width: 500px; min-height: 100px; margin-top: 50px; margin-left: auto; margin-right: auto;">
    <div class="heading">
      <h1><img src="view/image/lockscreen.png" alt="" /> <?php echo $text_login; ?></h1>
    </div>
    <div class="content" style="min-height: 100px; overflow: hidden;">
      
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" class="login">
        <p>
            <label for="login" class="loginlabel"><?php echo $entry_username; ?></label>
          <input type="text" name="username" value="<?php echo $username; ?>" />
        </p

        <p>
            <label for="password" class="loginlabel"><?php echo $entry_password; ?></label>
          <input type="password" name="password" value="<?php echo $password; ?>" />
        </p>
        <p class="login-submit">
                <button onclick="$('#form').submit();" class="login-button"><?php echo $button_login; ?></button>
            </p>

        <p class="forgot-password">
            <a href="<?php echo $forgotten; ?>" class="co"><?php echo $text_forgotten; ?></a>
                </p>
      </form>
        <?php if ($success) { ?>
      <div class="success"><?php echo $success; ?></div>
      <?php } ?>
      <?php if ($error_warning) { ?>
      <div class="warning"><?php echo $error_warning; ?></div>
      <?php } ?>
      
    </div>
  </div>
</div>
<script type="text/javascript"><!--
$('#form input').keydown(function(e) {
	if (e.keyCode == 13) {
		$('#form').submit();
	}
});
//--></script> 

</div>